package cn.edu.scujcc;

import java.util.Calendar;
import java.util.Date;

import org.springframework.data.annotation.Id;


public class Comment {
	@Id
	private String id;
	private Date date;
	private Long star;
	private String author;
	private String content;

	private Long zan;
	
	public Comment() {
		this.zan = 0L;
		this.date = Calendar.getInstance().getTime();
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public Long getSupport() {
		return star;
	}
	public void setSupport(Long support) {
		this.star = support;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getDate() {
		return date;
	}
	public Long getZan() {
		return zan;
	}
	public void setZan(Long zan) {
		this.zan = zan;
	}

}
